package com.cmc.cloud.cmclink.doc.vo.special.dgprohibiteditemvo;

import java.math.BigDecimal;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 危险品禁接清单明细 Base VO，提供给添加、修改、详细的子 VO 使用 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 * 
 * @author codegen
 */
@Data
public class DgProhibitedItemBaseVO {

    @Schema(description = "清单主信息id", requiredMode = Schema.RequiredMode.REQUIRED, example = "9698")
    @NotNull(message = "清单主信息id不能为空")
    private Long mainId;

    @Schema(description = "副风险")
    @Length(max = 20, message = "{dgprohibiteditem.subsidiaryrisk.max.length}")
    private String subsidiaryRisk;

    @Schema(description = "危险货物编号")
    @Length(max = 20, message = "{dgprohibiteditem.unno.max.length}")
    private String unNo;

    @Schema(description = "闪点")
    private BigDecimal flashPoint;

    @Schema(description = "包装组别")
    @Length(max = 50, message = "{dgprohibiteditem.packinggroup.max.length}")
    private String packingGroup;

    @Schema(description = "备注", example = "你猜")
    @Length(max = 200, message = "{dgprohibiteditem.remark.max.length}")
    private String remark;

}
